package com.hongxun.modules.csg.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.hongxun.common.validator.group.AddGroup;
import com.hongxun.common.validator.group.UpdateGroup;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;


/**
 * 进度填报信息
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-09-11 09:33:49
 */
public class CScheduleReportEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//guid
	private String guid;
	//所属进度id
	private String sGuid;
	//所属项目ID
	private String pGuid;
	//所属进度名称
	private String sName;
	//记录主题
	@NotBlank(message="记录主题不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String sRTheme;
	//记录时间
//	@NotBlank(message="记录时间不能为空", groups = {AddGroup.class, UpdateGroup.class})
//	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Date sRAddtime;
	//记录详情
	@NotBlank(message="记录详情不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String sRDetails;
	//填报人员名称
	private String sRUsername;
	//填报人员id
	private Long sRUser;
	//更新时间
	private Date sRUpdatetime;
	//状态
	private String sRDatastate;

	/**
	 * 设置：guid
	 */
	public void setGuid(String guid) {
		this.guid = guid;
	}
	/**
	 * 获取：guid
	 */
	public String getGuid() {
		return guid;
	}
	/**
	 * 设置：所属进度id
	 */
	public void setSGuid(String sGuid) {
		this.sGuid = sGuid;
	}
	/**
	 * 获取：所属进度id
	 */
	public String getSGuid() {
		return sGuid;
	}

	/**
	 * 获取：所属所属项目id
	 */
	public String getPGuid() {
		return pGuid;
	}

	/**
	 * 获取：所属所属项目id
	 */
	public void setPGuid(String pGuid) {
		this.pGuid = pGuid;
	}

	/**
	 * 设置：所属进度名称
	 */
	public void setSName(String sName) {
		this.sName = sName;
	}
	/**
	 * 获取：所属进度名称
	 */
	public String getSName() {
		return sName;
	}
	/**
	 * 设置：记录主题
	 */
	public void setSRTheme(String sRTheme) {
		this.sRTheme = sRTheme;
	}
	/**
	 * 获取：记录主题
	 */
	public String getSRTheme() {
		return sRTheme;
	}
	/**
	 * 设置：记录时间
	 */
	public void setSRAddtime(Date sRAddtime) {
		this.sRAddtime = sRAddtime;
	}
	/**
	 * 获取：记录时间
	 */
	public Date getSRAddtime() {
		return sRAddtime;
	}
	/**
	 * 设置：记录详情
	 */
	public void setSRDetails(String sRDetails) {
		this.sRDetails = sRDetails;
	}
	/**
	 * 获取：记录详情
	 */
	public String getSRDetails() {
		return sRDetails;
	}
	/**
	 * 设置：填报人员名称
	 */
	public void setSRUsername(String sRUsername) {
		this.sRUsername = sRUsername;
	}
	/**
	 * 获取：填报人员名称
	 */
	public String getSRUsername() {
		return sRUsername;
	}
	/**
	 * 设置：填报人员id
	 */
	public void setSRUser(Long sRUser) {
		this.sRUser = sRUser;
	}
	/**
	 * 获取：填报人员id
	 */
	public Long getSRUser() {
		return sRUser;
	}
	/**
	 * 设置：更新时间
	 */
	public void setSRUpdatetime(Date sRUpdatetime) {
		this.sRUpdatetime = sRUpdatetime;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getSRUpdatetime() {
		return sRUpdatetime;
	}
	/**
	 * 设置：状态
	 */
	public void setSRDatastate(String sRDatastate) {
		this.sRDatastate = sRDatastate;
	}
	/**
	 * 获取：状态
	 */
	public String getSRDatastate() {
		return sRDatastate;
	}
}
